<?php
echo "<html>";
echo "<title>Чатик - Оставить комментарий</title>";
echo "<body>";
echo "<table width = \"100%\" bordercolor = \"green\"><!-- \"#5a009c\" -->";

$news_id = $_GET["news_id"];
session_start();
include 'interface.php';
drawHeader();

	echo "<tr>";
		echo "<td></td>";
		echo "<td colspan = \"1\" rowspan = \"1\">";
		$str = sprintf("post_comment.php?news_id=%d", $news_id);
			echo "<form id=\"form2\"action=$str method=\"post\">";
			echo "Комментарий: <textarea type=\"text\" name=\"comm\"  form=\"form2\" style=\"vertical-align:top;overflow:auto;resize:none\" rows=\"2\" cols=\"40\" maxlength=\"1000\"> </textarea>";
		
			echo "<input type=\"submit\">";
			echo "</form>";
		 echo "</td>";
	 echo "</tr>";
echo "</table>";   


echo "</body>";
echo "</html>";
?>